/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.account;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.account.SysPermitMenu;

/**
 * @author CSJ (email:raulcsj@163.com)
 * @since 2012-12-11
 */
public interface SysPermitMenuService {
    /****************************************
     * Insert a instace of SysPermitMenu
     ****************************************/
    void insert(SysPermitMenu syspermitmenu) throws Exception;

    /****************************************
     * Insert instaces of SysPermitMenu
     ****************************************/
    void batchInsert(List<?> syspermitmenuList) throws Exception;

    /****************************************
     * Delete a instace of SysPermitMenu
     ****************************************/
    void delete(SysPermitMenu syspermitmenu) throws Exception;

    /****************************************
     * Delete instaces of SysPermitMenu
     ****************************************/
    void batchDelete(SysPermitMenu syspermitmenu) throws Exception;

    /****************************************
     * Update a instace of SysPermitMenu
     ****************************************/
    void update(SysPermitMenu syspermitmenu) throws Exception;

    /****************************************
     * Query instaces of SysPermitMenu
     ****************************************/
    List<BaseModel> queryAsList(SysPermitMenu syspermitmenu) throws Exception;

    /****************************************
     * Query a instaces of SysPermitMenu
     ****************************************/
    BaseModel queryAsObject(SysPermitMenu syspermitmenu) throws Exception;
}
